package Proxy;
import java.util.HashMap;
import java.util.Map;


public class Test {
	public static void main(String[] args){
		Map<String,String> map = new HashMap<String,String>();
		map.put("id", "1");
		map.put("name", "tom");
		map.put("sex", "m");
		Foo foo = PropertyConverter.to(Foo.class).from(map);   
		System.out.println(foo.id());   
		System.out.println(foo.name());
		System.out.println(foo.sex());  
	}
}
